<!DOCTYPE html>
<html class="bg-white">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>查看相册信息表</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" th:href="@{/layui/css/layui.css}">
</head>

<body>
<form id="photoalbumForm" lay-filter="photoalbumForm" class="layui-form model-form">
    <input name="id" type="hidden"/>

</form>

<!-- js部分 -->
<script type="text/javascript" th:src="@{layui/layui.all.js}"></script>
<script type="text/javascript" th:src="@{js/jquery-3.2.1.min.js}"></script>
<script th:inline="javascript">
    layui.use(['layer', 'form'], function () {
        var $ = layui.jquery;
        var layer = layui.layer;
        var form = layui.form;
        var photoalbum = [[${photoalbum}]];
        // 回显数据
        if (photoalbum) {
            form.val('photoalbumForm', photoalbum);
        }
    });
</script>

</body>
</html>